variable "instance_type" {
  description = "创建ecs服务器实例规格"
  type        = string
  default     = "ecs.s6-c1m2.small"
}

variable "instance_name" {
  description = "ecs实例名称"
  type        = string
  default     = "cloudj_"
}

variable "availability_zone" {
  description = "可用区域"
  type        = string
  default     = "cn-hangzhou-k"
}

variable "key_name" {
  description = "公钥名，用于查询，必须是云端已创建成功，需和私钥匹配选择"
  type        = string
  default     = "test1_admin"
}

variable "disk_size" {
  description = "磁盘容量"
  type        = string
  default     = "40"
}

variable "disk_category" {
  description = "磁盘类型"
  type        = string
  default     = "cloud_essd"
}

variable "resource_group_name" {
  description = "资源组名称，以$结尾"
  type        = string
  default     = "test1$"
}

variable "image_id" {
  description = "镜像名称"
  type        = string
  default     = "m-bp1h09ipy0azns9rvorx"
}

variable "tags_owner" {
  description = "tag中owner字段值，用于成本分析，勿改"
  type        = string
  default     = "wangsu"
}

variable "tags_application" {
  description = "tag中application字段值，用于成本分析，勿改"
  type        = string
  default     = "CloudIaC"
}

variable "instance_number" {
  description = "创建ecs服务器数据量，默认值为一台"
  type        = number
  default     = 1
}

variable "instance_password" {
  description = "实例密码"
  type        = string
  default     = ""
}